using System;
using Microsoft.Xna.Framework;

namespace ADiKt {
    // Custom event argument which includes the index of the player who triggered the event
    class PlayerIndexEventArgs : EventArgs {
        PlayerIndex playerIndex;

        public PlayerIndexEventArgs(PlayerIndex playerIndex) {
            this.playerIndex = playerIndex;
        }

        // Gets the index of the player who triggered this event.
        public PlayerIndex PlayerIndex {
            get { return playerIndex; }
        }
    }
}
